﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="M_InformationEdit.aspx.cs" Inherits="Web_HengliSeed.Sys_Manage.M_InformationEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../ueditor/themes/default/ueditor.css" />
    <script src="../ueditor/editor_all.js" type="text/javascript"></script>
    <script src="../ueditor/editor_config.js" type="text/javascript"></script>

    <link href="../Style/Manage.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="div_All">
    <div class="Body_Title">公司信息管理 》》<%=GetTitle()%></div>
        <table style="width:100%">
            <tr>
                <td>
                    <%
                if (!string.IsNullOrEmpty(Request["lan"]))
                {
                    if (Request["lan"] == "en")
                    {
                        Response.Write("<input type=\"button\" value=\"中文版\" onclick='javascript:location.href=\"M_InformationEdit.aspx?type=" + Request["type"] + "&lan=cn\"' />");
                    }
                    else
                    {
                        Response.Write("<input type=\"button\" value=\"英文版\" onclick='javascript:location.href=\"M_InformationEdit.aspx?type=" + Request["type"] + "&lan=en\"' />"); 
                    }
                }
                else
                {
                    Response.Write("<input type=\"button\" value=\"英文版\" onclick='javascript:location.href=\"M_InformationEdit.aspx?type=" + Request["type"] + "&lan=en\"' />");
                }
                 %>
                 &nbsp;&nbsp;&nbsp;&nbsp;
                 <asp:Button ID="BtnSave" runat="server" Text=" 保存信息 " onclick="BtnSave_Click" />
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div class="MesNote">
        
            <textarea cols="10" rows="10" runat="server" id="txt_CompanyAbout" ></textarea>
                <script type="text/javascript">
                    var ue = new baidu.editor.ui.Editor();
                    ue.render('txt_CompanyAbout');
                    ue.addListener("selectionchange", function () {
                        var state = ue.queryCommandState("source");
                        var btndiv = document.getElementById("btns");
                        if (btndiv) {
                            if (state) {
                                btndiv.style.display = "none";
                            } else {
                                btndiv.style.display = "";
                            }
                        }

                    });
                    </script>
        <hr />
        </div>
                </td>
            </tr>
        </table>
        
    </div>
    </form>
</body>
</html>
